var uploadSuccess = function(uploader, file, responseObject){
    $('#url').val(file.responseTp.data.url);
}
var uploadFail = function(uploader, data){
    daicuo.bootstrap.dialog(data.msg);
}
var uploadComplete = function(uploader, files){
    return false;
}
$(document).ready(function () {
    window.daicuo.upload.init();
});